<?php
/**
 * @file starbroker.php $
 * @author LinLin (linlin@haibao.com) $
 * @date 2016-1-4 下午1:39:47 $
 * @brief  $
 */
namespace haibao\cms\model\data\star;

class StarBroker extends \haibao\cms\model\data\Base{

	/**
	 *达人ID
	 */
	public $StarId;
	
	/**
	 *名字
	 */
	public $RealName;

	/**
	 * 电话
	 */
	public $Phone;

	/**
	 * 微信
	 */
	public $WeChat;

	/**
	 * 微博
	 */
	public $MicroBlog;

	/**
	 * 地址
	 */
	public $Address;

	/**
	 * 邮箱
	 */
	public $Email;
	
	/**
	 * 所在地
	 */
	public $Location;



	public function __construct() {
		parent::__construct();

		$this->intField('StarId', 'StarId',true);
		$this->intField('StarType', 'StarType',true);
		$this->stringField('RealName', 'RealName');
		$this->stringField('Phone', 'Phone');
		$this->stringField('WeChat', 'WeChat');
		$this->stringField('MicroBlog', 'MicroBlog');
		$this->stringField('Address', 'Address');
		$this->stringField('Email', 'Email');
		$this->stringField('Location', 'Location');

		$this->setTableName('StarBroker');
	}
}
